using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Office.Core;

namespace Microsoft.SoftwarePlusServices.ReferenceBits.OutlookPlusServices
{
    public interface IRibbonAction
    {
        void Execute(Microsoft.Office.Core.IRibbonControl control, string args);
    }

    public class IRibbonActionInfo
    {
        private string _name;
        private string _args;
        private IRibbonAction _obj;

        public IRibbonActionInfo(string name, string args, IRibbonAction obj)
        {
            _name = name;
            _args = args;
            _obj = obj;
        }

        public string ActionName { get { return _name; } }
        public string Args { get { return _args; } }
        public IRibbonAction Action { get { return _obj; } }
    }

}
